package com.outstanding.junit.dao;

import java.util.List;

import com.outstanding.framework.core.PendingException;
import com.outstanding.junit.bo.gateway.GatewayBo;

public interface GatewayDao {
	
	/**
	 * Title: queryGatewayList
	 * Description:消息服务商列表 
	 * @return
	 */
	public List<GatewayBo> queryGatewayList(GatewayBo gateway);
	
	/**
	 * Title: addGateway
	 * Description:新增消息服务商
	 * @return
	 */
	public int addGateway(GatewayBo gateway);
	
	/**
	 * Title: getGateway
	 * Description: 获取消息服务商
	 * @return
	 */
	public GatewayBo getGateway(GatewayBo gateway) throws PendingException;
	
	/**
	 * Title: updateGateway
	 * Description: 更新消息服务商
	 * @return
	 */
	public int updateGateway(GatewayBo gateway);
}
